﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using Microhard.FMCG.Buz.Interfaces;
using Microhard.FMCG.Buz.Impls;

namespace Microhard.FMCGClient
{
    public partial class frmListNews : Form
    {
        private INews _new = new NewsImpl();
        public frmListNews()
        {
            InitializeComponent();
        }

        public void ShowNew()
        {
            this.dgvNews.DataSource = _new.Query(new FMCG.Buz.Models.NewsModel { });
        }
    }
}
